<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title></title>
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
        integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
    <link rel="stylesheet" href="css/index.css">
</head>

<body>
    <header id="head">
        <div class="navbar position-relative bg">
            <button class="btn btn-outline-light d-md-none" data-toggle="collapse" data-target="#myNav">
                <svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30" role="img"
                    focusable="false">
                    <title>Menu</title>
                    <path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2"
                        d="M4 7h22M4 15h22M4 23h22"></path>
                </svg>
            </button>

            <div class="navbar-brand mx-auto mr-md-auto ml-md-0">
                <img src="images/logo.jpg" alt="重邮教育" style="width: 3rem;">
                <span class="text-white font-weight-bold align-middle ml-3 d-inline-block">重</span>
                <span class="text-white font-weight-bold align-middle ml-3 d-inline-block">邮</span>
                <span class="text-white font-weight-bold align-middle ml-3 d-inline-block">教</span>
                <span class="text-white font-weight-bold align-middle ml-3 d-inline-block">育</span>
            </div>

            <div class="navbar-collapse collapse position-absolute w-100 text-center" id="myNav">
                <nav class="navbar-nav nav py-3">
                    <a href="#student-list" class="nav-link" data-toggle="tab">学生列表</a>
                    <a href="#student-echarts" class="nav-link" data-toggle="tab">统计图表</a>
                </nav>
            </div>
        </div>
    </header>

    <div class="container-fluid main">
        <div class="row">
            <div class="pt-4 pr-0 pl-4 d-none d-md-block leftCon">
                <h5 class="text-white font-weight-bold mb-4">学生成绩管理</h5>
                <nav class="nav flex-column">
                    <a href="#student-list" class="nav-link text-white font-weight-bold py-3 text-center active"
                        data-toggle="tab">学生列表</a>
                    <a href="#student-echarts" class="nav-link text-white font-weight-bold py-3 text-center"
                        data-toggle="tab">统计图表</a>
                </nav>
            </div>

            <div class="col p-4 rightCon">
                <div class="tab-content">
                    <div class="tab-pane active" id="student-list">
                        <div class="form-group form-inline my-4">
                            <label for="search-inp">
                                退出登录：
                            </label>
                            <button class="btn btn-dark ml-2" id="back">退出登录</button>
                        </div>

                        <table id="students-table" class="table table-borderless text-center">
                            <thead class="table-secondary">
                                <tr>
                                    <th>学号</th>
                                    <th>姓名</th>
                                    <th>班级</th>
                                    <th>语文</th>
                                    <th>数学</th>
                                    <th>英语</th>
                                </tr>
                            </thead>
                            <tbody id="table-body" class="table-light"></tbody>
                        </table>
                        <div id="page" class="d-flex justify-content-center"></div>
                    </div>

                    <div class="tab-pane" id="student-echarts">
                        <div class="row">
                            <div class="col-xl-6">
                                <div id="totalNum" class="areaChart mx-auto my-5"></div>
                            </div>
                            <div class="col-xl-6">
                                <div id="scoreTable" class="sexChart mx-auto my-5"></div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    


    <script src="js/jquery-3.3.1.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
        integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
        crossorigin="anonymous"></script>
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"
        integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6"
        crossorigin="anonymous"></script>


    <script src="js/echarts.js"></script>
    <script src="./js/axios.js"></script>
    <script src="./js/student.js"></script>
    <script src="./js/table.js"></script>
</body>

</html>